ShopEngine\Widgets\Products A

Total Complexity 54
Dependencies 5
Dependents 49
Total lines 274
Lines of code 162
Logical lines of code 81
Comment lines 18
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_product()
A
50 13 27
get_the_product()
S
62 5 11
get_preview_product()
S
64 5 9
get_a_product()
S
60 3 13
get_variation_product()
S
63 3 10
get_a_simple_product()
S
62 2 11
get_a_simple_product_id()
S
74 2 4
get_a_product_id()
S
75 2 4
product_tab_content_preview()
S
75 2 4
get_a_orders_from_my_account()
S
64 2 9
get_a_variable_product_id()
S
63 2 10
get_random_product_id()
S
64 2 10
get_template_type_by_id()
S
73 2 4
get_product_obj()
S
68 2 7
no_product_to_preview()
S
73 1 5
get_a_order_id()
S
78 1 3
get_widget_template()
S
69 1 6
get_all_color_terms()
S
75 1 4
get_all_image_terms()
S
75 1 4
get_all_label_terms()
S
75 1 4
get_wc_product()
S
80 1 3